import 'package:flutter_architecture/viewmodels/theme_view_model.dart';
import 'package:flutter_architecture/viewmodels/user_view_model.dart';
import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';

/// provider集合
/// @author: dingwen
/// @date: 2020/12/28

List<SingleChildStatelessWidget> providers = [
  ChangeNotifierProvider<ThemeViewModel>(
    create: (context) => ThemeViewModel(),
  ),
  ChangeNotifierProvider<UserViewModel>(
    create: (context) => UserViewModel(),
  )
];
